package com.ruoyi.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 渔获记录对象 fh_info_catchrecord
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
@ApiModel(value = "FhInfoCatchrecord",description = "渔获记录实体")
public class FhInfoCatchrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 渔获数 */
    @ApiModelProperty("渔获数")
    @Excel(name = "渔获数")
    private Long catchNum;

    /** 渔获ids */
    @Excel(name = "渔获ids")
    private String catchNumids;

    /** 渔获种类数 */
    @ApiModelProperty("渔获种类数")
    @Excel(name = "渔获种类数")
    private Long catchType;

    /** 渔获种类id */
    @Excel(name = "渔获种类id")
    private String catchTypeids;

    /** 钓鱼点数 */
    @ApiModelProperty("钓鱼点数")
    @Excel(name = "钓鱼点数")
    private Long fishPoind;

    /** 常见鱼种id */
    @ApiModelProperty("常见鱼种id")
    @Excel(name = "常见鱼种id")
    private Long commonFishid;

    /** 常见鱼种图片 */
    @ApiModelProperty("常见鱼种图片")
    @Excel(name = "常见鱼种图片")
    private String commonFishimage;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCatchNum(Long catchNum) 
    {
        this.catchNum = catchNum;
    }

    public Long getCatchNum() 
    {
        return catchNum;
    }
    public void setCatchNumids(String catchNumids) 
    {
        this.catchNumids = catchNumids;
    }

    public String getCatchNumids() 
    {
        return catchNumids;
    }
    public void setCatchType(Long catchType) 
    {
        this.catchType = catchType;
    }

    public Long getCatchType() 
    {
        return catchType;
    }
    public void setCatchTypeids(String catchTypeids) 
    {
        this.catchTypeids = catchTypeids;
    }

    public String getCatchTypeids() 
    {
        return catchTypeids;
    }
    public void setFishPoind(Long fishPoind) 
    {
        this.fishPoind = fishPoind;
    }

    public Long getFishPoind() 
    {
        return fishPoind;
    }
    public void setCommonFishid(Long commonFishid) 
    {
        this.commonFishid = commonFishid;
    }

    public Long getCommonFishid() 
    {
        return commonFishid;
    }
    public void setCommonFishimage(String commonFishimage) 
    {
        this.commonFishimage = commonFishimage;
    }

    public String getCommonFishimage() 
    {
        return commonFishimage;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("catchNum", getCatchNum())
            .append("catchNumids", getCatchNumids())
            .append("catchType", getCatchType())
            .append("catchTypeids", getCatchTypeids())
            .append("fishPoind", getFishPoind())
            .append("commonFishid", getCommonFishid())
            .append("commonFishimage", getCommonFishimage())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
